<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<script>
    var x = {
        a: 0,
        set b(value) {
            this.a = value;
        },
        get b() {
            return this.a;
        }
    };
</script>
</body>
</html>